3.17.86 \(\int (a+b x) (a^2+2 a b x+b^2 x^2)^2 \, dx\)

Optimal. Leaf size=14 \[ \frac {(a+b x)^6}{6 b} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {27, 32} \begin {gather*} \frac {(a+b x)^6}{6 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x)*(a^2 + 2*a*b*x + b^2*x^2)^2,x]

[Out]

(a + b*x)^6/(6*b)

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rubi steps

\begin {align*} \int (a+b x) \left (a^2+2 a b x+b^2 x^2\right )^2 \, dx &=\int (a+b x)^5 \, dx\\ &=\frac {(a+b x)^6}{6 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 14, normalized size = 1.00 \begin {gather*} \frac {(a+b x)^6}{6 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)*(a^2 + 2*a*b*x + b^2*x^2)^2,x]

[Out]

(a + b*x)^6/(6*b)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (a+b x) \left (a^2+2 a b x+b^2 x^2\right )^2 \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(a + b*x)*(a^2 + 2*a*b*x + b^2*x^2)^2,x]

[Out]

IntegrateAlgebraic[(a + b*x)*(a^2 + 2*a*b*x + b^2*x^2)^2, x]

________________________________________________________________________________________

fricas [B]  time = 0.38, size = 53, normalized size = 3.79 \begin {gather*} \frac {1}{6} x^{6} b^{5} + x^{5} b^{4} a + \frac {5}{2} x^{4} b^{3} a^{2} + \frac {10}{3} x^{3} b^{2} a^{3} + \frac {5}{2} x^{2} b a^{4} + x a^{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(b^2*x^2+2*a*b*x+a^2)^2,x, algorithm="fricas")

[Out]

1/6*x^6*b^5 + x^5*b^4*a + 5/2*x^4*b^3*a^2 + 10/3*x^3*b^2*a^3 + 5/2*x^2*b*a^4 + x*a^5

________________________________________________________________________________________

giac [B]  time = 0.15, size = 51, normalized size = 3.64 \begin {gather*} \frac {1}{2} \, {\left (b x^{2} + 2 \, a x\right )} a^{4} + \frac {1}{2} \, {\left (b x^{2} + 2 \, a x\right )}^{2} a^{2} b + \frac {1}{6} \, {\left (b x^{2} + 2 \, a x\right )}^{3} b^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(b^2*x^2+2*a*b*x+a^2)^2,x, algorithm="giac")

[Out]

1/2*(b*x^2 + 2*a*x)*a^4 + 1/2*(b*x^2 + 2*a*x)^2*a^2*b + 1/6*(b*x^2 + 2*a*x)^3*b^2

________________________________________________________________________________________

maple [B]  time = 0.04, size = 54, normalized size = 3.86 \begin {gather*} \frac {1}{6} b^{5} x^{6}+a \,b^{4} x^{5}+\frac {5}{2} a^{2} b^{3} x^{4}+\frac {10}{3} a^{3} b^{2} x^{3}+\frac {5}{2} a^{4} b \,x^{2}+a^{5} x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)*(b^2*x^2+2*a*b*x+a^2)^2,x)

[Out]

1/6*b^5*x^6+a*b^4*x^5+5/2*a^2*b^3*x^4+10/3*a^3*b^2*x^3+5/2*a^4*b*x^2+a^5*x

________________________________________________________________________________________

maxima [A]  time = 0.48, size = 23, normalized size = 1.64 \begin {gather*} \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{3}}{6 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(b^2*x^2+2*a*b*x+a^2)^2,x, algorithm="maxima")

[Out]

1/6*(b^2*x^2 + 2*a*b*x + a^2)^3/b

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 53, normalized size = 3.79 \begin {gather*} a^5\,x+\frac {5\,a^4\,b\,x^2}{2}+\frac {10\,a^3\,b^2\,x^3}{3}+\frac {5\,a^2\,b^3\,x^4}{2}+a\,b^4\,x^5+\frac {b^5\,x^6}{6} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x)*(a^2 + b^2*x^2 + 2*a*b*x)^2,x)

[Out]

a^5*x + (b^5*x^6)/6 + (5*a^4*b*x^2)/2 + a*b^4*x^5 + (10*a^3*b^2*x^3)/3 + (5*a^2*b^3*x^4)/2

________________________________________________________________________________________

sympy [B]  time = 0.08, size = 60, normalized size = 4.29 \begin {gather*} a^{5} x + \frac {5 a^{4} b x^{2}}{2} + \frac {10 a^{3} b^{2} x^{3}}{3} + \frac {5 a^{2} b^{3} x^{4}}{2} + a b^{4} x^{5} + \frac {b^{5} x^{6}}{6} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(b**2*x**2+2*a*b*x+a**2)**2,x)

[Out]

a**5*x + 5*a**4*b*x**2/2 + 10*a**3*b**2*x**3/3 + 5*a**2*b**3*x**4/2 + a*b**4*x**5 + b**5*x**6/6

________________________________________________________________________________________